package com.gxar.quick.ar.server.base.model.exchange.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/20 10:38
 */
@Data
public class BaseExchangeItemVO {

    @ApiModelProperty("用户兑换品ID")
    @JSONField(name = "user_exchange_item_id")
    @JsonProperty("user_exchange_item_id")
    private String userExchangeItemId;

    @ApiModelProperty("兑换品名称")
    @JSONField(name = "name")
    @JsonProperty("name")
    private String name;

    @ApiModelProperty("默认识别图")
    @JSONField(name = "default_identify")
    @JsonProperty("default_identify")
    private String identify;

    @ApiModelProperty("默认模板id")
    @JSONField(name = "default_works_id")
    @JsonProperty("default_works_id")
    private String worksId;

    @ApiModelProperty("介绍信息")
    @JSONField(name = "introduction")
    @JsonProperty("introduction")
    private String introduction;

    @ApiModelProperty("是否他人赠送, 0-否，1、2均为是")
    @JSONField(name = "gift")
    @JsonProperty("gift")
    private Integer gift;

    @ApiModelProperty("兑换日期")
    @JSONField(name = "exchange_at")
    @JsonProperty("exchange_at")
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    private Date exchangeAt;

}
